<%@ page language="java" contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE>
<html>
  <head>
  <title>使用JSP脚本元素输出九九乘法表</title>
  </head>
  <body>
      <h1>九九乘法表</h1>
      <table border="0">
      <%for(int i = 1; i <=9; i++){ //行
       %><tr>
         <%  for(int j = 1; j <=i; j++){ //列
      		%>
      		<td style="border:2px solid black;padding:2px">
      		<%=j%>✕<%=i%>=<%=i*j%>
      		</td>
      		<%}%>
      		</tr>
      		<%}%>
      </table>
  </body>
</html>